<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="/favicon.ico">
  <title>Triz智慧系统</title>
  <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  <style>
    html,
    body,
    #app {
      height: 100%;
      margin: 0px;
      padding: 0px;
    }

    .chromeframe {
      margin: 0.2em 0;
      background: #ccc;
      color: #000;
      padding: 0.2em 0;
    }

    #loader-wrapper {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 999999;
      background: linear-gradient(135deg, #f8fafc 0%, #aaffff 100%);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    }

    .loaded #loader-wrapper {
      opacity: 0;
      visibility: hidden;
    }

    /* 新的加载动画设计 */
    .loader-container {
      position: relative;
      width: 120px;
      height: 120px;
      margin-bottom: 30px;
    }

    .triz-logo {
      position: absolute;
      width: 60px;
      height: 60px;
      left: 30px;
      top: 30px;
      background: linear-gradient(135deg, #409EFF 0%, #7171C6 100%);
      border-radius: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-weight: bold;
      font-size: 20px;
      z-index: 2;
      box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
    }

    .orbit {
      position: absolute;
      border: 2px solid transparent;
      border-radius: 50%;
      animation: rotate 4s linear infinite;
    }

    .orbit:nth-child(1) {
      width: 100%;
      height: 100%;
      border-top-color: #409EFF;
      border-right-color: #409EFF;
      animation-delay: 0.1s;
    }

    .orbit:nth-child(2) {
      width: 80%;
      height: 80%;
      top: 10%;
      left: 10%;
      border-top-color: #67C23A;
      border-right-color: #67C23A;
      animation-delay: 0.2s;
    }

    .orbit:nth-child(3) {
      width: 60%;
      height: 60%;
      top: 20%;
      left: 20%;
      border-top-color: #E6A23C;
      border-right-color: #E6A23C;
      animation-delay: 0.3s;
    }

    @keyframes rotate {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }

    .loading-text {
      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
      color: #303133;
      font-size: 22px;
      font-weight: 500;
      text-align: center;
      margin-top: 20px;
    }

    .loading-subtext {
      font-size: 14px;
      color: #606266;
      margin-top: 10px;
    }

    .progress-bar {
      width: 200px;
      height: 4px;
      background: rgba(192, 204, 218, 0.3);
      border-radius: 2px;
      margin-top: 20px;
      overflow: hidden;
    }

    .progress {
      height: 100%;
      background: linear-gradient(90deg, #409EFF, #7171C6);
      width: 0%;
      animation: progress 2s ease-in-out infinite;
    }

    @keyframes progress {
      0% {
        width: 0%;
        transform: translateX(0);
      }
      50% {
        width: 100%;
        transform: translateX(0);
      }
      100% {
        width: 0%;
        transform: translateX(200px);
      }
    }

    .no-js #loader-wrapper {
      display: none;
    }
  </style>
</head>

<body>
  <div id="app">
    <div id="loader-wrapper">
      <div class="loader-container">
        <div class="orbit"></div>
        <div class="orbit"></div>
        <div class="orbit"></div>
        <div class="triz-logo">T</div>
      </div>
      <div class="progress-bar">
        <div class="progress"></div>
      </div>
      <div class="loading-text">Triz智慧管理系统</div>
      <div class="loading-subtext">系统加载中，请稍候...</div>
    </div>
  </div>
  <script type="module" src="/src/main.js"></script>
</body>

</html>